package org.to_zero.ssm.sdm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.to_zero.ssm.sdm.entity.vo.ResponseEntity;
import org.to_zero.ssm.sdm.mapper.DictMapper;
import org.to_zero.ssm.sdm.service.DictService;

@Service
public class DictServiceImpl implements DictService {

    @Autowired
    private DictMapper dictMapper;

    @Override
    public ResponseEntity fillDict() {
        return ResponseEntity.success(dictMapper.findAllDict());
    }
}
